Skip to content

Reimplement GUI program#32

Draft
felgmar wants to merge 25 commits intomainfrom
reimplement-a-gui-application
Draft

Reimplement GUI program#32
felgmar wants to merge 25 commits intomainfrom
reimplement-a-gui-application

Conversation

@felgmar
Copy link
Owner

@felgmar felgmar commented Feb 20, 2025

This PR reimplements the GUI app deleted quite some time ago. Brought back by myself, refactored and updated to make it work with the new library.

@felgmar felgmar self-assigned this Feb 20, 2025
@felgmar felgmar force-pushed the reimplement-a-gui-application branch from 6c80567 to 220e60f Compare April 26, 2025 11:55
felgmar added 10 commits May 3, 2025 10:24
Replaces 'AdditionalDriversDrive' with 'AdditionalDrive' in ArgumentParser for consistency. Updates Program.cs to log exception messages instead of rethrowing, providing clearer error output during execution.
Refactored disk and driver parameter names for clarity, improved privilege checks, and streamlined user input validation in InstallerManager. Replaced DiskManager.ListAll with GetDisks to return disk info programmatically. Enhanced ProcessManager with more detailed console output during disk formatting. Separated preparation and installation logic in InstallerManager for better structure and error handling.
Modernized build scripts and .gitignore for robust artifact management. Updated target frameworks and NuGet packages. Refactored API: replaced InstallExtraDrivers with AdditionalDriversDrive, improved argument parsing, and enhanced DISM/driver logic. Expanded XML docs and error handling. Major README rewrite with clearer usage and build instructions. Improved CI workflow and permissions.
Change 'name' to GUIApp.app'
- Bump ConsoleApp to 0.0.8.0 and WindowsInstallerLib to 1.1.5.0
- Rename AdditionalDriversDrive to AdditionalDrive for consistency
- Improve exception handling: print errors instead of rethrowing in Program.cs
- Add InstallerManager.Prepare to separate disk formatting/validation
- Replace DiskManager.ListAll with GetDisks for better disk selection
- Streamline interactive prompts and input validation
- Simplify firmware type detection logic
- Use "bcdboot.exe" for bootloader installation
- Enhance disk formatting feedback in ProcessManager
- Refactor InstallerManager to throw errors for better propagation
- Remove unused methods and improve argument validation for maintainability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant